import { createRouter,createWebHashHistory} from "vue-router";
const Home = () => import("../pages/Home");
const Login = () => import("../pages/Login");

const routes = [
    { path: "/", redirect: "/Home" },
    {
        path: "/Home",
        name: "Home",
        component: Home
    },
    {
        path: "/Login",
        name: "Login",
        component: Login
    }
]
export default  createRouter({
    history: createWebHashHistory(),
    routes: routes
})
